home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Hyper / U-Z / Volume⁄GetVOl.sit / Volume•Sound XCMD / Volume•Sound XCMD / card_2171.txt < prev    next >
Encoding:
Text File  |  1989-05-13  |  9.1 KB  |  348 lines

  1. -- card: 2171 from stack: in
  2. -- bmap block id: 5757
  3. -- flags: 4000
  4. -- background id: 2507
  5. -- name: Install
  6. ----- HyperTalk script -----
  7. on mouseUp
  8.   hide card field "info"
  9. end mouseUp
  10.  
  11. on openCard
  12.   hide card field "info"
  13. end openCard
  14.  
  15.  
  16. -- part 1 (field)
  17. -- low flags: 01
  18. -- high flags: 2000
  19. -- rect: left=118 top=28 right=55 bottom=425
  20. -- title width / last selected line: 0
  21. -- icon id / first selected line: 0 / 0
  22. -- text alignment: 1
  23. -- font id: 2
  24. -- text size: 14
  25. -- style flags: 256
  26. -- line height: 18
  27. -- part name: All Info
  28.  
  29.  
  30. -- part 2 (button)
  31. -- low flags: 00
  32. -- high flags: A000
  33. -- rect: left=16 top=16 right=64 bottom=73
  34. -- title width / last selected line: 0
  35. -- icon id / first selected line: 12281 / 12281
  36. -- text alignment: 1
  37. -- font id: 0
  38. -- text size: 12
  39. -- style flags: 0
  40. -- line height: 16
  41. -- part name: Questions !
  42. ----- HyperTalk script -----
  43. on mouseUp
  44.   show card field "info"
  45. end mouseUp
  46.  
  47.  
  48.  
  49. -- part 3 (button)
  50. -- low flags: 00
  51. -- high flags: A000
  52. -- rect: left=209 top=284 right=331 bottom=297
  53. -- title width / last selected line: 0
  54. -- icon id / first selected line: 32650 / 32650
  55. -- text alignment: 1
  56. -- font id: 0
  57. -- text size: 12
  58. -- style flags: 0
  59. -- line height: 16
  60. -- part name: Next
  61. ----- HyperTalk script -----
  62. on mouseUp
  63.   Speak "Next"
  64.   visual effect scroll left Fast
  65.   go to card id 3648
  66. end mouseUp
  67.  
  68.  
  69.  
  70. -- part 7 (button)
  71. -- low flags: 00
  72. -- high flags: A003
  73. -- rect: left=72 top=89 right=158 bottom=211
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 12041 / 12041
  76. -- text alignment: 1
  77. -- font id: 0
  78. -- text size: 12
  79. -- style flags: 0
  80. -- line height: 16
  81. -- part name: Install Volume XCMD
  82. ----- HyperTalk script -----
  83. on mouseUp
  84.   -- ‚Ä¢‚Ä¢
  85.   -- ‚Ä¢‚Ä¢ ResCopy XCMD and FileName
  86.   -- ‚Ä¢‚Ä¢  ¬© Steve Maller Apple Computer‚Ñ¢
  87.   -- ‚Ä¢‚Ä¢  Thanks ! Steve Great Stuff ...
  88.   put the long name of this stack into sourceStack
  89.   delete first word of sourceStack
  90.   delete first character of sourceStack
  91.   delete last character of sourceStack
  92.   Put "Please Select..HyperCard Stack to Install Volume XCMD ?" into the message box
  93.   get fileName("STAK")
  94.   if it is empty then
  95.     play harpsichord "ee c"
  96.     hide Message Box
  97.     exit mouseUp
  98.   end if
  99.   put it into destStack
  100.   Put "Please Wait ....Installing in HyperCard Stack" into the message box
  101.   if sourceStack<>destStack then
  102.     set lockscreen to true
  103.     set lockmessages to true
  104.     ResCopy sourceStack,destStack,"XCMD","Volume"
  105.     get the result
  106.     -- here is where you would copy more resources.
  107.     set lockmessages to false
  108.     set lockscreen to false
  109.     if first char of it is "E" then
  110.       -- you could put better error handling here
  111.       Play Oops
  112.       Answer "Sorry !....Error on Installing Volume XCMD" With "Darn !"
  113.       Hide Message box
  114.       -- put it into the message box
  115.     else
  116.       Answer " Done with Volume XCMD Install...... " with "You Bet !"
  117.       Hide Message box
  118.     end if
  119.   end if
  120. end mouseUp
  121.  
  122.  
  123.  
  124.  
  125. -- part 11 (button)
  126. -- low flags: 00
  127. -- high flags: 0000
  128. -- rect: left=418 top=238 right=311 bottom=500
  129. -- title width / last selected line: 0
  130. -- icon id / first selected line: 0 / 0
  131. -- text alignment: 1
  132. -- font id: 0
  133. -- text size: 12
  134. -- style flags: 0
  135. -- line height: 16
  136. -- part name: Code
  137. ----- HyperTalk script -----
  138. on mouseUp
  139.   set lockscreen to true
  140.   set the lockScreen to true
  141.   Show card Field code
  142.   Show card Field Other
  143.   Show button id 19
  144. end mouseUp
  145.  
  146.  
  147.  
  148. -- part 13 (button)
  149. -- low flags: 00
  150. -- high flags: A003
  151. -- rect: left=271 top=90 right=159 bottom=410
  152. -- title width / last selected line: 0
  153. -- icon id / first selected line: 12041 / 12041
  154. -- text alignment: 1
  155. -- font id: 0
  156. -- text size: 12
  157. -- style flags: 0
  158. -- line height: 16
  159. -- part name: Install  GetSndVol XFCN
  160. ----- HyperTalk script -----
  161. on mouseUp
  162.   -- ‚Ä¢‚Ä¢
  163.   -- ‚Ä¢‚Ä¢ ResCopy XCMD and FileName
  164.   -- ‚Ä¢‚Ä¢  ¬© Steve Maller Apple Computer‚Ñ¢
  165.   -- ‚Ä¢‚Ä¢  Thanks ! Steve Great Stuff ...
  166.   put the long name of this stack into sourceStack
  167.   delete first word of sourceStack
  168.   delete first character of sourceStack
  169.   delete last character of sourceStack
  170.   Put "Please Select..HyperCard Stack to Install Getsndvol XFCN ?" into the message box
  171.   get fileName("STAK")
  172.   if it is empty then
  173.     play harpsichord "ee c"
  174.     hide Message Box
  175.     exit mouseUp
  176.   end if
  177.   put it into destStack
  178.   Put "Please Wait ....Installing in HyperCard Stack" into the message box
  179.   if sourceStack<>destStack then
  180.     set lockscreen to true
  181.     set lockmessages to true
  182.     ResCopy sourceStack,destStack,"XFCN","Getsndvol"
  183.     get the result
  184.     -- here is where you would copy more resources.
  185.     set lockmessages to false
  186.     set lockscreen to false
  187.     if first char of it is "E" then
  188.       -- you could put better error handling here
  189.       Play Oops
  190.       Answer "Sorry !....Error on Installing Getsndvol XFCN" With "Darn !"
  191.       Hide Message box
  192.       -- put it into the message box
  193.     else
  194.       Answer " Done with Getsndvol XFCN Install...... " with "You Bet !"
  195.       Hide Message box
  196.     end if
  197.   end if
  198. end mouseUp
  199.  
  200.  
  201.  
  202.  
  203. -- part 14 (button)
  204. -- low flags: 00
  205. -- high flags: A003
  206. -- rect: left=181 top=175 right=244 bottom=320
  207. -- title width / last selected line: 0
  208. -- icon id / first selected line: 12041 / 12041
  209. -- text alignment: 1
  210. -- font id: 0
  211. -- text size: 12
  212. -- style flags: 0
  213. -- line height: 16
  214. -- part name: Install  Speak XCMD
  215. ----- HyperTalk script -----
  216. on mouseUp
  217.   Speak "Install Speak XCMD in Your Stack"
  218.   -- ‚Ä¢‚Ä¢
  219.   -- ‚Ä¢‚Ä¢ ResCopy XCMD and FileName
  220.   -- ‚Ä¢‚Ä¢  ¬© Steve Maller Apple Computer‚Ñ¢
  221.   -- ‚Ä¢‚Ä¢  Thanks ! Steve Great Stuff ...
  222.   put the long name of this stack into sourceStack
  223.   delete first word of sourceStack
  224.   delete first character of sourceStack
  225.   delete last character of sourceStack
  226.   Put "Please Select..HyperCard Stack to Install Speak XCMD ?" into the message box
  227.   get fileName("STAK")
  228.   if it is empty then
  229.     play harpsichord "ee c"
  230.     hide Message Box
  231.     exit mouseUp
  232.   end if
  233.   put it into destStack
  234.   Put "Please Wait ....Installing in HyperCard Stack" into the message box
  235.   if sourceStack<>destStack then
  236.     set lockscreen to true
  237.     set lockmessages to true
  238.     ResCopy sourceStack,destStack,"XCMD","Speak"
  239.     get the result
  240.     -- here is where you would copy more resources.
  241.     set lockmessages to false
  242.     set lockscreen to false
  243.     if first char of it is "E" then
  244.       -- you could put better error handling here
  245.       Play Oops
  246.       Answer "Sorry !....Error on Installing Speak XCMD " With "Darn !"
  247.       Hide Message box
  248.       -- put it into the message box
  249.     else
  250.       Answer " Done with Speak XCMD Install...... " with "You Bet !"
  251.       Hide Message box
  252.     end if
  253.   end if
  254. end mouseUp
  255.  
  256.  
  257.  
  258.  
  259. -- part 15 (field)
  260. -- low flags: 81
  261. -- high flags: 2004
  262. -- rect: left=49 top=68 right=334 bottom=464
  263. -- title width / last selected line: 0
  264. -- icon id / first selected line: 0 / 0
  265. -- text alignment: 0
  266. -- font id: 3
  267. -- text size: 12
  268. -- style flags: 0
  269. -- line height: 16
  270. -- part name: info
  271. ----- HyperTalk script -----
  272. on mouseUp
  273.   hide card field "info"
  274. end mouseUp
  275.  
  276.  
  277. -- part 17 (field)
  278. -- low flags: 81
  279. -- high flags: 0004
  280. -- rect: left=88 top=75 right=258 bottom=436
  281. -- title width / last selected line: 0
  282. -- icon id / first selected line: 0 / 0
  283. -- text alignment: 0
  284. -- font id: 3
  285. -- text size: 12
  286. -- style flags: 0
  287. -- line height: 16
  288. -- part name: Other
  289.  
  290.  
  291. -- part 18 (field)
  292. -- low flags: 81
  293. -- high flags: 0007
  294. -- rect: left=103 top=91 right=229 bottom=422
  295. -- title width / last selected line: 0
  296. -- icon id / first selected line: 0 / 0
  297. -- text alignment: 0
  298. -- font id: 0
  299. -- text size: 12
  300. -- style flags: 0
  301. -- line height: 16
  302. -- part name: Code
  303.  
  304.  
  305. -- part 19 (button)
  306. -- low flags: 80
  307. -- high flags: A003
  308. -- rect: left=324 top=233 right=253 bottom=412
  309. -- title width / last selected line: 0
  310. -- icon id / first selected line: 0 / 0
  311. -- text alignment: 1
  312. -- font id: 0
  313. -- text size: 12
  314. -- style flags: 0
  315. -- line height: 16
  316. -- part name: Done
  317. ----- HyperTalk script -----
  318. On MouseUp
  319.   set lockscreen to true
  320.   Hide card Field code
  321.   Hide card Field Other
  322.   Hide button id 19
  323. End MouseUp
  324.  
  325.  
  326.  
  327. -- part contents for card part 1
  328. ----- text -----
  329. Install Volume, GetSndVol, Speak XCMD
  330.  
  331. -- part contents for card part 15
  332. ----- text -----
  333.    To use this function within your own stacks, you must first install it into either your stack or your version of HyperCard. If you give this stack you are creating to others, i recommend that you install the routines into the stack itself.
  334.  
  335.    You can use ResEdit to copy the Volume resources into your stack or you can use the resource copier built-in to this stack. To use the built-in copier, just select the button on this card and then select the stack where you want to install these resources.
  336.  
  337.      This stack and XCMD's is Copyrighted. If you use this XCMD's in any stack, you must put my copyright notice in the credits section of your stack. There are no monetary fees required for the use of these XCMD's. You need only give me some credit.    Thanks ...    Kenneth ‚ÄúSkip‚Äù Rockey 1989
  338.                                             
  339.  
  340. -- part contents for card part 18
  341. ----- text -----
  342.     
  343.                  ‚Äú C ‚Äù  and  ‚Äú Pascal ‚Äù  Code 
  344.            
  345.    Send  A Diskette and $6.00 and I will return you  all the source CODE , Think Tech. Inc., XCMD Glue ‚Äú C ‚Äù  and ‚Äú Pascal ‚Äù Programs.  
  346.                    Now that's A Deal ... !
  347.  
  348.